import axios from '../utils/axios'

export function getReviewListForPages(params) {
    return axios.get('/cUserReview/selectByPage', { params })
}

export function putReview(params) {
    return axios.put(`/cUserReview/${params.id}`, params)
}

export function randomReview() {
    return axios.get('/cUserReview/random')
}

export function createReview(params) {
    return axios.post(`/cUserReview/`, params)
}